package com.etc.service.impl;


import com.etc.dao.OwnerDao;
import com.etc.entity.Owner;
import com.etc.service.OwnerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OwnerServiceImpl implements OwnerService {
    @Resource
    private OwnerDao ownerDao;

    @Override
    public Integer decide(Integer id) {
        return ownerDao.decide(id);
    }

    @Override
    public int delBatch(List<Integer> ids) {
        return ownerDao.delBatch(ids);
    }

    @Override
    public Owner findById(Integer id) {
        return ownerDao.findById(id);
    }

}
